/*
 * @Description: Approve页面主体
 * @Author: Rfan
 * @Date: 2022-03-22 13:31:06
 * @LastEditTime: 2022-03-24 11:10:44
 */

import { Tabs } from 'antd';
import ApprovePane from './ApprovePane';
import BorrowPane from './BorrowPane';
import RulePane from './RulePane';

const { TabPane } = Tabs;

const ApprovePage = () => {
  return (
    <Tabs defaultActiveKey="2">
      <TabPane tab="借阅管理" key="1">
        <BorrowPane />
      </TabPane>
      <TabPane tab="利用审批" key="2">
        <ApprovePane />
      </TabPane>
      <TabPane tab="借阅规则" key="3">
        <RulePane />
      </TabPane>
    </Tabs>
  );
};

export default ApprovePage;
